#include <tchar.h>
#include <windows.h>
#include "CKlotski.h"

#define LEFT_X 80
#define TOP_Y 50
#define GRID_SIZE 80

class CCanvas
{
public:
    CCanvas();
    void OnMouseEvent(int x, int y);
    void OnPaint(HDC &hdc);
    CKlotski m_klotski;
    bool m_bEditing;
    int m_iAdding;
protected:
    int m_iSelect;
    RECT m_lpRects[4];
};

